//
//  FunctionVC.h
//  SuperLight
//
//  Created by Charlie Liao on 14-4-30.
//  Copyright (c) 2014年 Charlie Liao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LightController.h"
#import "LightEntity.h"
#import "Common.h"

@interface FunctionVC : UIViewController
<
UITableViewDataSource,
UITabBarDelegate
>
{
    NSArray* effectsArr;
    NSMutableArray *selectArr;
}

@property (nonatomic, assign) int brightness;

@property (weak, nonatomic) IBOutlet UITableView        *effectsTable;
@property (weak, nonatomic) IBOutlet UISlider           *timeIntervalSlider;
@property (weak, nonatomic) IBOutlet UISegmentedControl *timingSegmented;
@property (weak, nonatomic) IBOutlet UIDatePicker       *datePicker;

@property (strong, nonatomic) IBOutlet UIView   *dateChoseView;
@property (strong, nonatomic) IBOutlet UIView   *dateChoseBgView;

- (IBAction)timeIntervalValueChanged:(id)sender;

- (IBAction)timingPowerValueChanged:(id)sender;

- (IBAction)datePickerValueChanged:(id)sender;

- (IBAction)onClickHideDateChoseView:(id)sender;

- (IBAction)onClickConfirmBtn:(id)sender;

@end
